package com.szh.zx.gaoDingJavaBook.chapter8.three;

import java.util.LinkedHashSet;

public class LinkedHashSetTest {
	public static void main(String[] args) {
		LinkedHashSet books = new LinkedHashSet();
		books.add("轻量级javaee企业级应用实战");
		books.add("疯狂java讲义");
		books.add("疯狂java讲义2");

		System.out.println(books);
//		删除
		books.remove("疯狂java讲义");
		books.add("疯狂java讲义");
		System.out.println(books);
// TreeSet
	}
}
